package com.hotel.project.usercenter.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author William
 * @create 2022-04-14 9:51
 */
@Data
@TableName("cash")
public class Cash {

    @TableField("user_id")
    private Long userId;
    @TableField("change_reason")
    private String changeReason;
    @TableField("change_type")
    private Boolean changeType;//零钱增减类型 0-减少 1-增加
    @TableField("before_value")
    private BigDecimal beforeValue;
    @TableField("modify_value")
    private BigDecimal modifyValue;
    @TableField("after_value")
    private BigDecimal afterValue;
    @TableField("payable_cash")
    private BigDecimal payableCash;//可提现返现
    @TableField("unPayable_cash")
    private BigDecimal unPayableCash;//不可提现返现
    @TableField("bonus")
    private BigDecimal bonus;//奖金

}
